<!DOCTYPE html>












  


<html class="theme-next mist use-motion" lang="en">
<head>
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2">
<meta name="theme-color" content="#222">






  
  
    
    
  <script src="/lib/pace/pace.min.js?v=1.0.2"></script>
  <link href="/lib/pace/pace-theme-minimal.min.css?v=1.0.2" rel="stylesheet">







<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">






















<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=6.3.0" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=6.3.0">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/imagesfavicon.ico?v=6.3.0">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/imagesfavicon.ico?v=6.3.0">


  <link rel="mask-icon" href="/images/logo.svg?v=6.3.0" color="#222">









<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Mist',
    version: '6.3.0',
    sidebar: {"position":"left","display":"hide","offset":12,"b2t":false,"scrollpercent":true,"onmobile":false},
    fancybox: false,
    fastclick: false,
    lazyload: false,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>
  <meta name="description" content="前言本文转载自 stormzhang 的博客文章, 推荐的插件大都亲自试用过, 感觉棒棒的. 尊重劳动者们的果实, 缀上处处:  私人珍藏的 Chrome 插件，吐血推荐— by stormzhang. 一直都对 Chrome 情有独钟，第一次接触她只因她的 icon 就喜欢上她了，后来便一发不可自拔，现在几乎成为程序员最喜欢用的浏览器，至于优点很明显：强大的 Developer Tools，响">
<meta name="keywords" content="Chrome">
<meta property="og:type" content="article">
<meta property="og:title" content="转 - 常用的 Chrome 插件推荐">
<meta property="og:url" content="https://absentm.github.io/2016/06/01/转-常用的Chrome插件推荐/index.html">
<meta property="og:site_name" content="AbsentM&#39;s Notes">
<meta property="og:description" content="前言本文转载自 stormzhang 的博客文章, 推荐的插件大都亲自试用过, 感觉棒棒的. 尊重劳动者们的果实, 缀上处处:  私人珍藏的 Chrome 插件，吐血推荐— by stormzhang. 一直都对 Chrome 情有独钟，第一次接触她只因她的 icon 就喜欢上她了，后来便一发不可自拔，现在几乎成为程序员最喜欢用的浏览器，至于优点很明显：强大的 Developer Tools，响">
<meta property="og:locale" content="en">
<meta property="og:image" content="https://lh3.googleusercontent.com/9UA9KaU7zMtWtyQobggNrYWRDW2OFjOaqmsKVqGKsebxj70eKUA-hEig31MAEixeF9S2N7N3mvU=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/fh7bDoUz8VTpzUPtW_ERxPPK9sm7TvsgYZwcItGyMQt2ygIfeVlisiTh03-6tPwPc7w3rlbqAA=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/ZSboVV6JRiphXpoch4ZQcu8dJ-zwyTaPB2jk4eIZL9hH-sSjvYeTZ4QOGtPg0_PTx6iYpkmeZg=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/LokPk9ZYHyu__3M7hFwVz1yMCZc7aZjyS-vnLOoR-qJAiFHTtXDgOiw8yTPcW-kBT3GrIgxM=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/cHADhq5YvW8PfXluuyVDeo2f5DcEUTbw8idtdMhraKF3J04LYbyL-YuRovQALab6JS7uoYflGw=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/hGGJJo8zVhpYv4XoP1RSTCnCB1CEWXCkENtbi9Z6EZBEkqptwCjwK5_LsRNouffbaeaiUwNz=w640-h400-e365">
<meta property="og:image" content="http://segmentfault.com/img/bVsgpF">
<meta property="og:image" content="http://segmentfault.com/img/bVsgpK">
<meta property="og:image" content="https://lh3.googleusercontent.com/smgYh7wwNDNaXf5Z6ki5uzRsuEgdT6HOPDFxkkGPR3DgoA4a_pxw7Bd7bmnpT_8Cntjar4UkgA=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/2dUteufEwSxSTauj-2A4rcQqA7EeccXzKEPVIaoDl3_Nthoow2Ng-7Y0uz_u4gZbAa2dkfLC=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/s61KeuNoUr83A2a8JBkMhj2Ah5i-jabxnotK3USsgN4ZgprnYS8uNoGgJhaunRMzrgGimLRq=w640-h400-e365">
<meta property="og:image" content="https://lh3.googleusercontent.com/mIJkM-C_abHu5wj7ACNn0hB-tLooLTHaml2e0NipNeDdjmHUod153G2TCXnTbWx6WMtddCWY=w640-h400-e365">
<meta property="og:image" content="https://ph-files.imgix.net/0a552987-711d-4d5b-8ec1-5a233b7ea41f?auto=format&auto=compress&codec=mozjpeg&cs=strip">
<meta property="og:image" content="http://img.blog.csdn.net/20160601223031329">
<meta property="og:image" content="http://img.blog.csdn.net/20160601222945203">
<meta property="og:image" content="https://lh4.googleusercontent.com/-1HNS6W2D_DCUi2zscwBjfAiet5ip22K4o-eSP3Tuh1Zj1fOmvSg-8nlSA_918laYkJ1AJ0rwQ=s640-h400-e365-rw">
<meta property="og:image" content="http://img.blog.csdn.net/20160607222505761">
<meta property="og:image" content="http://img.blog.csdn.net/20160607222710551">
<meta property="og:updated_time" content="2019-07-23T07:30:17.374Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="转 - 常用的 Chrome 插件推荐">
<meta name="twitter:description" content="前言本文转载自 stormzhang 的博客文章, 推荐的插件大都亲自试用过, 感觉棒棒的. 尊重劳动者们的果实, 缀上处处:  私人珍藏的 Chrome 插件，吐血推荐— by stormzhang. 一直都对 Chrome 情有独钟，第一次接触她只因她的 icon 就喜欢上她了，后来便一发不可自拔，现在几乎成为程序员最喜欢用的浏览器，至于优点很明显：强大的 Developer Tools，响">
<meta name="twitter:image" content="https://lh3.googleusercontent.com/9UA9KaU7zMtWtyQobggNrYWRDW2OFjOaqmsKVqGKsebxj70eKUA-hEig31MAEixeF9S2N7N3mvU=w640-h400-e365">






  <link rel="canonical" href="https://absentm.github.io/2016/06/01/转-常用的Chrome插件推荐/">



<script type="text/javascript" id="page.configurations">
  CONFIG.page = {
    sidebar: "",
  };
</script>

  <title>转 - 常用的 Chrome 插件推荐 | AbsentM's Notes</title>
  






  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?021d64369b3c401c47c6ab7aa56f7074";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>




  <noscript>
  <style type="text/css">
    .use-motion .motion-element,
    .use-motion .brand,
    .use-motion .menu-item,
    .sidebar-inner,
    .use-motion .post-block,
    .use-motion .pagination,
    .use-motion .comments,
    .use-motion .post-header,
    .use-motion .post-body,
    .use-motion .collection-title { opacity: initial; }

    .use-motion .logo,
    .use-motion .site-title,
    .use-motion .site-subtitle {
      opacity: initial;
      top: initial;
    }

    .use-motion {
      .logo-line-before i { left: initial; }
      .logo-line-after i { right: initial; }
    }
  </style>
</noscript>
</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="en">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">AbsentM's Notes</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
    
  </div>

  <div class="site-nav-toggle">
    <button aria-label="Toggle navigation bar">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>


<nav class="site-nav">
  
    <ul id="menu" class="menu">
      
        
        
        
          
          <li class="menu-item menu-item-home">
    <a href="/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-home"></i> <br>Home</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-categories">
    <a href="/categories/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-th"></i> <br>Categories</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-archives">
    <a href="/archives/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>Archives</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-tags">
    <a href="/tags/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-tags"></i> <br>Tags</a>
  </li>
        
        
        
          
          <li class="menu-item menu-item-about">
    <a href="/about/" rel="section">
      <i class="menu-item-icon fa fa-fw fa-user"></i> <br>About</a>
  </li>

      
      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br>Search</a>
        </li>
      
    </ul>
  

  
    

  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocomplete="off" placeholder="Searching..." spellcheck="false" type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



  



</div>
    </header>

    

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  
    <div class="reading-progress-bar"></div>
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://absentm.github.io/2016/06/01/转-常用的Chrome插件推荐/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="AbsentM">
      <meta itemprop="description" content="Avenue to Jane!">
      <meta itemprop="image" content="https://raw.githubusercontent.com/absentm/gitRes/master/NotePics/googlrPhoto.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="AbsentM's Notes">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">转 - 常用的 Chrome 插件推荐
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">

            
            
            

            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">Posted on</span>
              

              
                
              

              <time title="Created: 2016-06-01 22:31:23" itemprop="dateCreated datePublished" datetime="2016-06-01T22:31:23+08:00">2016-06-01</time>
            

            
              

              
                
                <span class="post-meta-divider">|</span>
                

                <span class="post-meta-item-icon">
                  <i class="fa fa-calendar-check-o"></i>
                </span>
                
                  <span class="post-meta-item-text">Edited on</span>
                
                <time title="Modified: 2019-07-23 15:30:17" itemprop="dateModified" datetime="2019-07-23T15:30:17+08:00">2019-07-23</time>
              
            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">In</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/Tools/" itemprop="url" rel="index"><span itemprop="name">Tools</span></a></span>

                
                
              
            </span>
          

          
            
              <span class="post-comments-count">
                <span class="post-meta-divider">|</span>
                <span class="post-meta-item-icon">
                  <i class="fa fa-comment-o"></i>
                </span>
                <a href="/2016/06/01/转-常用的Chrome插件推荐/#comments" itemprop="discussionUrl">
                
                  <span class="post-comments-count disqus-comment-count" data-disqus-identifier="2016/06/01/转-常用的Chrome插件推荐/" itemprop="commentCount"></span>
                </a>
              </span>
            
          

          
          
             <span id="/2016/06/01/转-常用的Chrome插件推荐/" class="leancloud_visitors" data-flag-title="转 - 常用的 Chrome 插件推荐">
               <span class="post-meta-divider">|</span>
               <span class="post-meta-item-icon">
                 <i class="fa fa-eye"></i>
               </span>
               
                 <span class="post-meta-item-text">Views: </span>
               
                 <span class="leancloud-visitors-count"></span>
             </span>
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <hr>
<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>本文转载自 stormzhang 的博客文章, 推荐的插件大都亲自试用过, 感觉棒棒的. 尊重劳动者们的果实, 缀上处处:  <a href="http://stormzhang.com/devtools/2016/01/15/google-chrome-extension/" target="_blank" rel="noopener">私人珍藏的 Chrome 插件，吐血推荐— by stormzhang</a>.</p>
<p>一直都对 Chrome 情有独钟，第一次接触她只因她的 icon 就喜欢上她了，后来便一发不可自拔，现在几乎成为程序员最喜欢用的浏览器，至于优点很明显：强大的 Developer Tools，响应快速，支持各种插件。当然也有些劣势，比如稍微占点内存，但是在如今这个硬件这么便宜的时代，这点几乎可以忽略，今天我就来给大家推荐下我自己常用的一些Chrome插件，你在别处可看不到，可以这么说，熟练使用这些插件，会对你的开发效率大大提高，逼格瞬间上升一个档次。</p>
<hr>
<h2 id="插件安装"><a href="#插件安装" class="headerlink" title="插件安装"></a>插件安装</h2><p>本文推荐的插件大多可以通过在 Chrome Store直接搜索即可添加（要会科学上网哦）!!!</p>
<p>下文中的每个标题插件名称都是一个链接到该插件 chrome store 官方的下载地址, 点击即入!</p>
<hr>
<h3 id="推荐1-Momentum"><a href="#推荐1-Momentum" class="headerlink" title="推荐1: Momentum"></a>推荐1: <a href="https://chrome.google.com/webstore/detail/momentum/laookkfknpbbblfpciffpaejjkokdgca" target="_blank" rel="noopener">Momentum</a></h3><p>装逼利器，教你如何优雅的使用 Chrome，新打开一个 Tab 的时候再也不是一片空白，每天一副精美图片，给你们看下我今天的桌面感受下。</p>
<p><img src="https://lh3.googleusercontent.com/9UA9KaU7zMtWtyQobggNrYWRDW2OFjOaqmsKVqGKsebxj70eKUA-hEig31MAEixeF9S2N7N3mvU=w640-h400-e365" alt="Momentum"></p>
<hr>
<h3 id="推荐2-OneTab"><a href="#推荐2-OneTab" class="headerlink" title="推荐2: OneTab"></a>推荐2: <a href="https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall" target="_blank" rel="noopener">OneTab</a></h3><p>强烈推荐，使用场景是这样的，我们使用 Chrome 经常会一次打开好多 tab，很多是会用到的，又不舍得关，内存又耗着，这个时候点击下 OneTab，直接把所有 tab 回收，然后每天的历史都给你记录着，接着你可以一键还原某一天的 tab，真乃为 Chrome 而生。</p>
<p><img src="https://lh3.googleusercontent.com/fh7bDoUz8VTpzUPtW_ERxPPK9sm7TvsgYZwcItGyMQt2ygIfeVlisiTh03-6tPwPc7w3rlbqAA=w640-h400-e365" alt="OneTab"></p>
<hr>
<h3 id="推荐3-Save-to-Pocket"><a href="#推荐3-Save-to-Pocket" class="headerlink" title="推荐3: Save to Pocket"></a>推荐3: <a href="https://chrome.google.com/webstore/detail/save-to-pocket/niloccemoadcdkdjlinkgdfekeahmflj" target="_blank" rel="noopener">Save to Pocket</a></h3><p>相信很多人都用过 Pocket，这也是我一直学习必备的 App，比如你经常看博客，看到好的文章，然后装个这个插件就可以直接保存到 Pocket，这个时候你手机上的 Pocket 客户端同步过来，不管你在做地铁，还是在上厕所都可以利用这些碎片时间消化保存的知识，比利用这些时间刷知乎好多了，强烈推荐大学生或者工作经验没多久迫切需要学习的人。</p>
<p><img src="https://lh3.googleusercontent.com/ZSboVV6JRiphXpoch4ZQcu8dJ-zwyTaPB2jk4eIZL9hH-sSjvYeTZ4QOGtPg0_PTx6iYpkmeZg=w640-h400-e365" alt="pocket"></p>
<hr>
<h3 id="推荐4-Page-Ruler"><a href="#推荐4-Page-Ruler" class="headerlink" title="推荐4: Page Ruler "></a>推荐4: <a href="https://chrome.google.com/webstore/detail/page-ruler/emliamioobfffbgcfdchabfibonehkme" target="_blank" rel="noopener">Page Ruler </a></h3><p>这个工具设计师必备，可以直接查看网页一些图片的详细像素大小、具体位置等，非常实用。</p>
<p><img src="https://lh3.googleusercontent.com/LokPk9ZYHyu__3M7hFwVz1yMCZc7aZjyS-vnLOoR-qJAiFHTtXDgOiw8yTPcW-kBT3GrIgxM=w640-h400-e365" alt="page ruler"></p>
<hr>
<h3 id="推荐5-Alexa-Traffic-Rank-Alexa"><a href="#推荐5-Alexa-Traffic-Rank-Alexa" class="headerlink" title="推荐5: Alexa Traffic Rank Alexa"></a>推荐5: <a href="http://www.alexa.com/" target="_blank" rel="noopener">Alexa Traffic Rank Alexa</a></h3><p>Alexa 排名是指网站的世界排名，非常有权威。直接主流网站或博客绝对是有 Alexa 排名的，我们在浏览博客或者网站的时候就可以通过 Alexa 排名知晓该网站的流行程度，适用于经常看博客的人，装了这个插件一键查看网站排名。</p>
<p><img src="https://lh3.googleusercontent.com/cHADhq5YvW8PfXluuyVDeo2f5DcEUTbw8idtdMhraKF3J04LYbyL-YuRovQALab6JS7uoYflGw=w640-h400-e365" alt="alexa"></p>
<hr>
<p>上面只是热身，下面都是跟我们开发密切相关的，注意前方高能：</p>
<p>GitHub 俗称为 『 全球最大的程序员同性社交社区 』，足以见他在程序员心中的地位，几乎每个程序员都必须要有一个 GitHub 账号，那么就来推荐下 GitHub 三件套。</p>
<hr>
<h3 id="推荐6-Isometric-Contributions"><a href="#推荐6-Isometric-Contributions" class="headerlink" title="推荐6: Isometric Contributions"></a>推荐6: <a href="https://chrome.google.com/webstore/detail/isometric-contributions/mjoedlfflcchnleknnceiplgaeoegien" target="_blank" rel="noopener">Isometric Contributions</a></h3><p>一个小玩意，可以让你在 GitHub 上的 commit 像盖楼一样的展示，很有趣，展示下 Android 大神 Jake Wharton 的 commit 情况。</p>
<p><img src="https://lh3.googleusercontent.com/hGGJJo8zVhpYv4XoP1RSTCnCB1CEWXCkENtbi9Z6EZBEkqptwCjwK5_LsRNouffbaeaiUwNz=w640-h400-e365" alt="isometric contributions"></p>
<hr>
<h3 id="推荐7-Avatars-for-Github"><a href="#推荐7-Avatars-for-Github" class="headerlink" title="推荐7: Avatars for Github"></a>推荐7: <a href="https://github.com/anasnakawa/chrome-github-avatars" target="_blank" rel="noopener">Avatars for Github</a></h3><p>顾名思义，默认我们在 GitHub 主页动态只能看到 id 的，而安装了这个插件就可以看到 GitHub 头像了，让你一眼就能知道是谁，给你们看下我的 GitHub 主页动态。</p>
<p><img src="http://segmentfault.com/img/bVsgpF" alt="Avatars"></p>
<hr>
<h3 id="推荐8-Octotree"><a href="#推荐8-Octotree" class="headerlink" title="推荐8: Octotree"></a>推荐8: <a href="https://github.com/buunguyen/octotree" target="_blank" rel="noopener">Octotree</a></h3><p>这个可就屌了，当我们在浏览别人的开源代码时，还要 clone 下来一个文件查看，而有了这个插件，你可以直接在 Chrome 侧边栏向打开文件夹一样的查看别人的项目，简直了。给大家看下查看我的开源项目的正确方式。</p>
<p><img src="http://segmentfault.com/img/bVsgpK" alt="Octotree"></p>
<hr>
<p>接下来是 Android 开发必备插件了，效率提升百倍！</p>
<hr>
<h3 id="推荐9-JSONView"><a href="#推荐9-JSONView" class="headerlink" title="推荐9: JSONView"></a>推荐9: <a href="https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc" target="_blank" rel="noopener">JSONView</a></h3><p>一般我们在对接 api 接口的时候，一般都是默认返回 json 格式，想要查看具体返回哪些内容的时候通过 Chrome 查看全乱的，而且中文编码也不对，而有了这个插件就不一样了，自动跟你排列出 Json 数据，不管返回数据有多复杂，你都可以很直观的了解他的数据格式，简直开发者必备。</p>
<p><img src="https://lh3.googleusercontent.com/smgYh7wwNDNaXf5Z6ki5uzRsuEgdT6HOPDFxkkGPR3DgoA4a_pxw7Bd7bmnpT_8Cntjar4UkgA=w640-h400-e365" alt="这里写图片描述"></p>
<hr>
<h3 id="推荐10-Postman"><a href="#推荐10-Postman" class="headerlink" title="推荐10: Postman"></a>推荐10: <a href="https://chrome.google.com/webstore/detail/fhbjgbiflinjbdggehcddcbncdddomop" target="_blank" rel="noopener">Postman</a></h3><p>开发者在调试网络时候，Linux 平台一般常用 curl 这种命令行工具，而如果你不会使用或者不习惯命令行，那 Postman 是你的不二人选，可以直接发送一个请求，自定义 params、header，查看 response 状态等。</p>
<p><img src="https://lh3.googleusercontent.com/2dUteufEwSxSTauj-2A4rcQqA7EeccXzKEPVIaoDl3_Nthoow2Ng-7Y0uz_u4gZbAa2dkfLC=w640-h400-e365" alt="postman"></p>
<hr>
<h3 id="推荐11-ChromeADB"><a href="#推荐11-ChromeADB" class="headerlink" title="推荐11: ChromeADB"></a>推荐11: <a href="https://chrome.google.com/webstore/detail/chromeadb/fhdoijgfljahinnpbolfdimpcfoicmnm" target="_blank" rel="noopener">ChromeADB</a></h3><p>这个可以说是 Android 开发者才用得上，这个插件的具体作用就是可以控制你的手机，当然前提必须是你的 adb 已经连接上了，不管是通过USB也好还是通过 Wifi 也好（不知道怎么通过 Wifi 连接的可以去我博客找），然后可以查看你的内存、硬盘使用情况，还自带一个 Controller，可以远程控制你的手机，比如我曾经就在手机 wifi 连接到 adb 的情况下，在我媳妇把玩我手机情况下突然放了首她爱听的音乐，当时的惊喜你们脑补下。</p>
<p><img src="https://lh3.googleusercontent.com/s61KeuNoUr83A2a8JBkMhj2Ah5i-jabxnotK3USsgN4ZgprnYS8uNoGgJhaunRMzrgGimLRq=w640-h400-e365" alt="chromeAdb"></p>
<hr>
<h3 id="推荐12-Vysor"><a href="#推荐12-Vysor" class="headerlink" title="推荐12: Vysor"></a>推荐12: <a href="https://chrome.google.com/webstore/detail/vysor-beta/gidgenkbbabolejbgbpnhbimgjbffefm" target="_blank" rel="noopener">Vysor</a></h3><p>这个插件的使用场景是这样的，假如你在做一个 Android App 的演讲，但是手机屏幕太小，这个时候安装了这个插件就可以让手机画面投影到电脑上来（在 iOS 系统实现这个很方便），而且延时几乎很小，这个插件一般用不到就把他禁用，一旦用到的时候会非常有用.</p>
<p><img src="https://lh3.googleusercontent.com/mIJkM-C_abHu5wj7ACNn0hB-tLooLTHaml2e0NipNeDdjmHUod153G2TCXnTbWx6WMtddCWY=w640-h400-e365" alt="Vysor"></p>
<hr>
<h3 id="推荐13-Dribbble-New-Tab"><a href="#推荐13-Dribbble-New-Tab" class="headerlink" title="推荐13: Dribbble New Tab"></a>推荐13: <a href="https://www.producthunt.com/posts/new-tab-dribbble" target="_blank" rel="noopener">Dribbble New Tab</a></h3><p>大名鼎鼎的 Dribble，堪称设计师必备，而装了这个插件，可以让你打开空白 tab 的时间第一时间把每日精选作品展现出来，视觉的享受，强烈推荐给设计师们，装了这个插件我的桌面是这样的。（这个插件跟 Momentum 同时只能使用一个）</p>
<p><img src="https://ph-files.imgix.net/0a552987-711d-4d5b-8ec1-5a233b7ea41f?auto=format&amp;auto=compress&amp;codec=mozjpeg&amp;cs=strip" alt="Dribble"></p>
<hr>
<h3 id="推荐14-ADblock-plus"><a href="#推荐14-ADblock-plus" class="headerlink" title="推荐14: ADblock plus"></a>推荐14: <a href="https://chrome.google.com/webstore/detail/cfhdojbkjhnklbpkdaibdccddilifddb" target="_blank" rel="noopener">ADblock plus</a></h3><p>这个不用多说, 屏蔽烦人的广告! 大家都知道的.</p>
<p><img src="http://img.blog.csdn.net/20160601223031329" alt="adblock"></p>
<hr>
<h3 id="推荐15-Vimium"><a href="#推荐15-Vimium" class="headerlink" title="推荐15: Vimium"></a>推荐15: <a href="https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb" target="_blank" rel="noopener">Vimium</a></h3><p>像使用vim一样, 来操纵你的网页, 手不离剑, 剑不离手!</p>
<p><img src="http://img.blog.csdn.net/20160601222945203" alt="vimium"></p>
<hr>
<h3 id="推荐16-163邮箱"><a href="#推荐16-163邮箱" class="headerlink" title="推荐16: 163邮箱"></a>推荐16: <a href="https://chrome.google.com/webstore/detail/degnllcmhlfjedphgljfbgjcdijpagpp" target="_blank" rel="noopener">163邮箱</a></h3><p>这个很方便, 能够实时显示163邮箱的邮件通知, 并且还有邮件个数提醒!</p>
<p><img src="https://lh4.googleusercontent.com/-1HNS6W2D_DCUi2zscwBjfAiet5ip22K4o-eSP3Tuh1Zj1fOmvSg-8nlSA_918laYkJ1AJ0rwQ=s640-h400-e365-rw" alt="163 emial"></p>
<hr>
<h3 id="推荐17-EverSync"><a href="#推荐17-EverSync" class="headerlink" title="推荐17: EverSync"></a>推荐17: <a href="https://chrome.google.com/webstore/detail/eversync-sync-bookmarks-b/iohcojnlgnfbmjfjfkbhahhmppcggdog?hl=zh-CN" target="_blank" rel="noopener">EverSync</a></h3><p>这是一款跨浏览器的书签同步工具（需要科学上网啊），效果明显；主要支持Chrome和Firebox浏览器的书签同步，同时还提供Android版本，<strong>书签同步功能32个赞</strong>。</p>
<p><img src="http://img.blog.csdn.net/20160607222505761" alt="eversync1"></p>
<p><img src="http://img.blog.csdn.net/20160607222710551" alt="eversync2"></p>
<hr>
<h2 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a>参考资料</h2><p>[1]. <a href="http://stormzhang.com/devtools/2016/01/15/google-chrome-extension/" target="_blank" rel="noopener">http://stormzhang.com/devtools/2016/01/15/google-chrome-extension/</a></p>
      
    </div>

    

    
    
    

    

    
      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center">
  <div>Enjoy it ? Donate me !  求鼓励，求支持！</div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>Donate</span>
  </button>
  <div id="QR" style="display: none">

    
      <div id="wechat" style="display: inline-block">
        <img id="wechat_qr" src="https://raw.githubusercontent.com/absentm/gitRes/master/NotePics/wechat.png" alt="AbsentM WeChat Pay">
        <p>WeChat Pay</p>
      </div>
    

    
      <div id="alipay" style="display: inline-block">
        <img id="alipay_qr" src="https://raw.githubusercontent.com/absentm/gitRes/master/NotePics/alipay.png" alt="AbsentM Alipay">
        <p>Alipay</p>
      </div>
    

    

  </div>
</div>

      </div>
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/Chrome/" rel="tag"># Chrome</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2016/05/17/Sublime-text-3-相关配置/" rel="next" title="Sublime text 3 相关配置">
                <i class="fa fa-chevron-left"></i> Sublime text 3 相关配置
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2016/06/02/The-solution-of-Databases-Query-problems-Sixth/" rel="prev" title="The solution of Databases Query problems(Sixth)">
                The solution of Databases Query problems(Sixth) <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>


  </div>


          </div>
          

  
    <div class="comments" id="comments">
      <div id="disqus_thread">
        <noscript>
          Please enable JavaScript to view the
          <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
        </noscript>
      </div>
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            Table of Contents
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            Overview
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="https://raw.githubusercontent.com/absentm/gitRes/master/NotePics/googlrPhoto.png" alt="AbsentM">
            
              <p class="site-author-name" itemprop="name">AbsentM</p>
              <p class="site-description motion-element" itemprop="description">Avenue to Jane!</p>
          </div>

          
            <nav class="site-state motion-element">
              
                <div class="site-state-item site-state-posts">
                
                  <a href="/archives/">
                
                    <span class="site-state-item-count">57</span>
                    <span class="site-state-item-name">posts</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-categories">
                  <a href="/categories/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">8</span>
                    <span class="site-state-item-name">categories</span>
                  </a>
                </div>
              

              
                
                
                <div class="site-state-item site-state-tags">
                  <a href="/tags/index.html">
                    
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                      
                    
                    <span class="site-state-item-count">37</span>
                    <span class="site-state-item-name">tags</span>
                  </a>
                </div>
              
            </nav>
          

          

          
            <div class="links-of-author motion-element">
              
                <span class="links-of-author-item">
                  <a href="https://github.com/absentm" target="_blank" title="GitHub"><i class="fa fa-fw fa-github"></i>GitHub</a>
                  
                </span>
              
                <span class="links-of-author-item">
                  <a href="https://twitter.com/absentm123" target="_blank" title="Twitter"><i class="fa fa-fw fa-twitter"></i>Twitter</a>
                  
                </span>
              
                <span class="links-of-author-item">
                  <a href="http://weibo.com/dmicrocosmos" target="_blank" title="Weibo"><i class="fa fa-fw fa-weibo"></i>Weibo</a>
                  
                </span>
              
            </div>
          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-inline">
              <div class="links-of-blogroll-title">
                <i class="fa fa-fw fa-link"></i>
                Links
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.hanhanfilm.com/" title="憨憨电影" target="_blank">憨憨电影</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.fengxiaochuang.com/" title="晓闯博客" target="_blank">晓闯博客</a>
                  </li>
                
              </ul>
            </div>
          

          
            
          
          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#前言"><span class="nav-number">1.</span> <span class="nav-text">前言</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#插件安装"><span class="nav-number">2.</span> <span class="nav-text">插件安装</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐1-Momentum"><span class="nav-number">2.1.</span> <span class="nav-text">推荐1: Momentum</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐2-OneTab"><span class="nav-number">2.2.</span> <span class="nav-text">推荐2: OneTab</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐3-Save-to-Pocket"><span class="nav-number">2.3.</span> <span class="nav-text">推荐3: Save to Pocket</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐4-Page-Ruler"><span class="nav-number">2.4.</span> <span class="nav-text">推荐4: Page Ruler </span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐5-Alexa-Traffic-Rank-Alexa"><span class="nav-number">2.5.</span> <span class="nav-text">推荐5: Alexa Traffic Rank Alexa</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐6-Isometric-Contributions"><span class="nav-number">2.6.</span> <span class="nav-text">推荐6: Isometric Contributions</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐7-Avatars-for-Github"><span class="nav-number">2.7.</span> <span class="nav-text">推荐7: Avatars for Github</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐8-Octotree"><span class="nav-number">2.8.</span> <span class="nav-text">推荐8: Octotree</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐9-JSONView"><span class="nav-number">2.9.</span> <span class="nav-text">推荐9: JSONView</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐10-Postman"><span class="nav-number">2.10.</span> <span class="nav-text">推荐10: Postman</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐11-ChromeADB"><span class="nav-number">2.11.</span> <span class="nav-text">推荐11: ChromeADB</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐12-Vysor"><span class="nav-number">2.12.</span> <span class="nav-text">推荐12: Vysor</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐13-Dribbble-New-Tab"><span class="nav-number">2.13.</span> <span class="nav-text">推荐13: Dribbble New Tab</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐14-ADblock-plus"><span class="nav-number">2.14.</span> <span class="nav-text">推荐14: ADblock plus</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐15-Vimium"><span class="nav-number">2.15.</span> <span class="nav-text">推荐15: Vimium</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐16-163邮箱"><span class="nav-number">2.16.</span> <span class="nav-text">推荐16: 163邮箱</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#推荐17-EverSync"><span class="nav-number">2.17.</span> <span class="nav-text">推荐17: EverSync</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#参考资料"><span class="nav-number">3.</span> <span class="nav-text">参考资料</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; 2015 – <span itemprop="copyrightYear">2019</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">AbsentM</span>

  

  
</div>




  <div class="powered-by">Powered by <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> v3.7.1</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">Theme – <a class="theme-link" target="_blank" href="https://theme-next.org">NexT.Mist</a> v6.3.0</div>
        
<div class="busuanzi-count">
  <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv" title="Total Visitors">
      <i class="fa fa-user"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
    </span>
  

  
    <span class="site-pv" title="Total Views">
      <i class="fa fa-eye"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
    </span>
  
</div>









        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
          <span id="scrollpercent"><span>0</span>%</span>
        
      </div>
    

    
	
    

    
      <div>
        <!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_inline_share_toolbox">
  <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-58d66725c4aec37d" async="async"></script>
</div>

      </div>
    
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>
























  



  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/reading_progress/reading_progress.js"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=6.3.0"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=6.3.0"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=6.3.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=6.3.0"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=6.3.0"></script>



  

  
    <script id="dsq-count-scr" src="https://absentm.disqus.com/count.js" async></script>
  

  
    <script type="text/javascript">
      var disqus_config = function () {
        this.page.url = 'https://absentm.github.io/2016/06/01/转-常用的Chrome插件推荐/';
        this.page.identifier = '2016/06/01/转-常用的Chrome插件推荐/';
        this.page.title = '转 - 常用的 Chrome 插件推荐';
        };
      function loadComments () {
        var d = document, s = d.createElement('script');
        s.src = 'https://absentm.disqus.com/embed.js';
        s.setAttribute('data-timestamp', '' + +new Date());
        (d.head || d.body).appendChild(s);
      }
      
        $(function () {
          var offsetTop = $('#comments').offset().top - $(window).height();
          if (offsetTop <= 0) {
            // load directly when there's no a scrollbar
            loadComments();
          } else {
            $(window).on('scroll.disqus_scroll', function () {
              var scrollTop = document.documentElement.scrollTop;
              if (scrollTop >= offsetTop) {
                $(window).off('.disqus_scroll');
                loadComments();
              }
            });
          }
        });
      
    </script>
  












  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  
  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.4.js"></script>
  <script>AV.initialize("8gIMbJWMH7XprqgkEiPWXvuu-gzGzoHsz", "W9NRpyhllWph45XiJsEHVgct");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            
            counter.save(null, {
              success: function(counter) {
                
                  var $element = $(document.getElementById(url));
                  $element.find('.leancloud-visitors-count').text(counter.get('time'));
                
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            
              var newcounter = new Counter();
              /* Set ACL */
              var acl = new AV.ACL();
              acl.setPublicReadAccess(true);
              acl.setPublicWriteAccess(true);
              newcounter.setACL(acl);
              /* End Set ACL */
              newcounter.set("title", title);
              newcounter.set("url", url);
              newcounter.set("time", 1);
              newcounter.save(null, {
                success: function(newcounter) {
                  var $element = $(document.getElementById(url));
                  $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
                },
                error: function(newcounter, error) {
                  console.log('Failed to create');
                }
              });
            
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>



  

  
<script>
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';        
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
</script>


  
  

  
  

  


  
  

  

  

  

  

  

</body>
</html>